package cc.tantivy.dht;

/**
 * Created by Jason on 16/8/9.
 */
abstract class Callbacker {

    private int transactionId;

    public abstract void execute(BencodeMap response);
    public void destory() {}

    public final void setTransactionId(int transactionId) {
        this.transactionId = transactionId;
    }

    public final int getTransactionId() {
        return transactionId;
    }

}
